﻿using Configurations;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Utilities;

namespace BussinessLayer
{
    public class AccountManager
    {
         public static bool CheckPassword(string Password)
         {
             string md5 = DataUtil.GetMD5(Password);
             if (md5 == Configs.Password)
                 return true;
             return false;
         }
    
        public static void ChangePassword(string Password)
         {
             Configs.Password = Password;
         }
    }
}
